#40 new
joren

Rails edge and passenger

Reported by joren | February 5th, 2009 @ 07:32 AM

Hi,

I'm working with the latsest version of rails from github, the lastest version of restful_authentication from github and passenger to run in development and production.

The problem is that he just doesn't want to login. When I un it in development using script/server it does work, but not with passenger. Is this a known problem and more important, is there a solution for it?

thx

Comments and changes to this ticket

  • Redmar

    Redmar March 1st, 2009 @ 06:25 AM

    I've had the same problem. My quick fix was to use the active record session store instead of the cookie based session store. This can be defined in config/initializers/session_store.rb

    just uncomment the following line: ActionController::Base.session_store = :active_record_store

    But there is something broken with the cookie storage for sure. But i'm still not sure if it's broken in passenger, edge rails or only the auth plugin.

  • Newdevas

    Newdevas March 17th, 2009 @ 07:01 AM

    Im having the same problem here, Ill try the fix above...

  • lighthouse (at helbling)

    lighthouse (at helbling) March 20th, 2009 @ 01:29 PM

    I have the same problem -- Gentoo, Passenger, Rails 2.3.2, Restful Authentication, cookie session store. It seems to not be setting up the user in the session correctly.

  • lighthouse (at helbling)

    lighthouse (at helbling) March 20th, 2009 @ 02:25 PM

    Ok i just upgraded my Passenger server to 2.1.2 and it seems to be working fine.

    I followed the instructions here... http://blog.phusion.nl/?s=2.1.2

    • gem install passenger then
    • passenger-install-apache2-module

    This put the .so in a abnormal spot for gentoo... so I had to update the modules.d/30_mod_passenger.conf file to point to the new locations.

  • mamooth

    mamooth July 21st, 2009 @ 05:23 AM

    • Assigned user cleared.

    It worked just fine for me too. I've updated to passenger 2.2.4 and the cookie session store worked again.

    on Debian etch :

    sudo gem install passenger

    sudo passenger-install-apache2-module

    Edit your apache2.conf as described at the end of the install process.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
authentication:
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.

http://github.com/technoweenie/restful-authentication/tree

Pages